﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace Core
{
    public  class XmlHelper
    {
        public static List<string> List_XmlData(string path)
        {
            XDocument xml = XDocument.Load(path);
            var list = from item in xml.Descendants("Ten")
                       select item.Value;
            return list.ToList();
        }
    }
}
